%{
#include<iostream>
#include<set>
using namespace std;
set <int>s;
int num=0;
float sum=0;
%}
delim [ \t\n]
ws {delim}+
digit [0-9]
letter [A-Za-z]
number {digit}+(\.{digit}+)?(E[+\-]?{digit}+)?
name NAME$
schoolnumber ^[0-9]{9}

%%
{schoolnumber} {printf("201492248");}
{name} {printf("CWQ");}
{letter} {printf("%s",yytext);}
{number} {sum=2*atof(yytext)+201492248;sum=int(sum);printf("%d",sum);s.insert(sum);num++;}
%%

int main()
{
yylex();
printf("%d,%d\n",num,s.size());
return 0;
}
int yywrap()
{
return 1;
}

